import request from '@/utils/request'
export function fetchList(params) {
return request({
url: '/ums/umsMemberGroup/list',
method: 'get',
params: params
})
}
export function createUmsMemberGroup(data) {
return request({
url: '/ums/umsMemberGroup/create',
method: 'post',
data: data
})
}

export function deleteUmsMemberGroup(id) {
return request({
url: '/ums/umsMemberGroup/delete/' + id,
method: 'get',
})
}

export function getUmsMemberGroup(id) {
return request({
url: '/ums/umsMemberGroup/' + id,
method: 'get',
})
}

export function updateUmsMemberGroup(id, data) {
return request({
url: '/ums/umsMemberGroup/update/',
method: 'post',
data: data
})
}

